package com.zjt.service.product;
import org.springframework.data.domain.Page;
import com.zjt.entity.brandcategory.Brand;
import com.zjt.entity.brandcategory.BrandCategory;
import com.zjt.web.api.vo.base.PageVO;

/**
 * Created with IntelliJ IDEA.
 * User: xueyanbeijing
 * Date: 12-8-24
 * Time: PM11:04
 * 品牌类别的接品定义
 * To change this template use File | Settings | File Templates.
 */
public interface IBrandCategoryService {
    BrandCategory saveBrandCategory(long brandId,long categoryId); //新建关联
    boolean removeBranCategory(long brandId,long categoryId);//去掉关联

    /**
     * 入新的商标
     * @param chName
     * @param enName
     * @param alias
     * @param factoryId
     * @return
     */
    boolean saveBrand(String chName,String enName,String alias,long factoryId);

    Brand getBrandById(long brandId);


    Page<BrandCategory> getBrandCategoryList(PageVO pageVO);
}
